<?php
$this->_var['pmenucss'][] = $this->_var['TMPL_REAL']."/css/style.css";
$this->_var['pmenucss'][] = $this->_var['TMPL_REAL']."/css/pmenu.css";
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
	<title>打印我的选菜单</title>
	<link rel="stylesheet" type="text/css" href="{function name="parse_css" v="$pmenucss"}" />
</head>
<body>  
        <div class="od_cfm_x">
            <i class="bdcor_lt bgcor"></i>
            <i class="bdcor_rt bgcor"></i>
            <i class="bdcor_lb bgcor"></i>
            <i class="bdcor_rb bgcor"></i>
            <div class="p20">
                <h3 class="f14"><strong>{$store_info.name}</strong></h3>
                <div class="w377 auto pt20 mt5">
                    <table class="od_cfm_table" width="100%" border="0" cellspacing="0" cellpadding="0">
                        <tr>
                            <th scope="col" class="n g9" width="170">
                            	菜名
                            </th>
                            <th scope="col" class="n g9 nowp">
                            	份数
                            </th>
                            <th scope="col" class="n g9" width="70">
                            	 价格
                            </th>
                        </tr>
						{foreach from=$list item="item"}
                        <tr>
                            <td>
                            	{$item.name}
                            </td>
                            <td>
                                {$item.nums}
                            </td>
                            <td>
                                <strong class="org">{function name="round" v=$item.price f=2}</strong>元 
                            </td>
                        </tr>
						{/foreach}
                    </table>
                    <div class="od_cmf_total_x">
                        <strong class="w73 abs pt20 mt20 tc lh24 f14">合计</strong>
                        <div class="od_cmf_dtl_x">
                            <div class="p20">
                                <div class="clearfix mt10">
                                    <span class="f_l mt2 pt1 cr">总金额：</span>
                                    <div class="pl50">
                                        <span class="f16"><strong class="red">{function name="round" v=$all_price f=2}</strong>元</span>
                                        <span class="g9 ft">(此价格不含时价菜)</span>
                                    </div>
                                </div>
                                <div class="clearfix mt5">
                                    <span class="f_l mt1 fs">菜&nbsp;&nbsp;品：</span>
                                    <div class="pl50">
                                        种类<strong class="org">{$all_cate}</strong>个，数量<strong class="org">{$all_num}</strong>份
                                        <p class="g9">
                                            (普通菜{$normal_num}个，特色菜{$special_num}个)
                                        </p>
                                    </div>
                                </div>
                                <div class="mt10 g9">
                                    菜品价格容易变动，仅供参考，请就餐时以餐厅实际情况为准。欢迎您提交正确信息！
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="mt10 pt2">
                    </div>
                    <div class="mt10">
                    </div>
                    <!--显示会员中心调用打印按钮-->
                </div>
            </div>
        </div>
        <!--自动打印-->
        <script type="text/javascript">
            window.onload = function(){
                print();
                window.close();
            }
        </script>
    </body>
</html>
